public class ArrayDemo3 {
    public static void main(String[] args) {
        String[][] books = {
                {"8001", "Java编程基础", "10"},
                {"8002", "数据结构与算法", "15"},
                {"8003", "数据库原理", "20"}
        };
        System.out.println("图书编号\t书名\t\t借阅次数");
        System.out.println("-----------------------");

        for (int i = 0; i < books.length; i++){
            for (int j = 0; j < books[i].length; j++) {
                System.out.print(books[i][j] + "\t");
            }
            System.out.println();
        }
    }
}
